We can speed up CI a bit by allowing build jobs to run in parallel
with review jobs, and don't have test jobs wait for the flatpak build.
See https://gitlab.gnome.org/help/ci/yaml/README.md#needs for details.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1391
build:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: build
+ needs: []
before_script:
- .gitlab-ci/checkout-mutter.sh
- meson mutter mutter/build --prefix=/usr -Dtests=false
test:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: test
+ needs: ["build"]
variables:
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
NO_AT_BRIDGE: "1"
test-pot:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: test
+ needs: ["build"]
before_script:
- ninja -C mutter/build install
script:
flatpak:
stage: build
+ needs: []
variables:
SUBPROJECT: "subprojects/extensions-app"
# Your manifest path